package edu.stonybrook.cs.gars.server.data.exceptions;

/**
 * @author Tony Arra This exception occurs when there a discrepancy between the
 *         fields in a data file and mapping file
 */

public class FieldMatchException extends UploadException {

	public FieldMatchException(String field1, String field2) {
		this("\"" + field1 + "\" in the data file does not match \"" + field2
				+ "\" in the map file.");
	}

	public FieldMatchException(String message) {
		super(message);
	}

}
